package com.huashi.dealer.modular.business.article.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class StoreArticleCategorySaveParam {

    @Schema(description = "分类ID(有值则编辑，无值则新增)")
    private Integer categoryId;

    @Schema(description = "分类名称")
    @NotBlank(message = "分类名称不能为空")
    private String name;

    @Schema(description = "排序(数字越小越靠前)")
    private Integer sort;
}


